package com.bbms.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.bbms.dao.BorrowBookReportDAO;
import com.bbms.entity.BorrowRecord;
import com.bbms.entity.Page;
import com.bbms.service.BorrowBookReportService;

@Service("BorrowBookReportServiceImpl")
public class BorrowBookReportServiceImpl implements BorrowBookReportService {
	
	@Resource(name="BorrowBookReportDAOImpl")
	BorrowBookReportDAO dao;
	
	@Override
	public void add(BorrowRecord t) {
		// TODO Auto-generated method stub

	}

	@Override
	public void update(BorrowRecord t) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(BorrowRecord t) {
		// TODO Auto-generated method stub

	}

	@Override
	public Page getPage(int currentPage, int pageSize) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page getPage(int currentPage, int pageSize, String start_time, String end_time) {
		
		Page page = dao.getPage(currentPage, pageSize, start_time, end_time);
		
		return page;
	}

}
